home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1994 August / August CD.bin / Shareware / Programming / Infinity Windoid WDEF 2.6 / Other Versions / WindoidDefines.h—with grow < prev   
Text File  |  1994-04-01  |  2KB  |  92 lines

  1. // *****************************************************************************
  2. //
  3. //    WindoidDefines.h
  4. //
  5. // *****************************************************************************
  6. #ifndef __WindoidDefines__
  7. #define __WindoidDefines__
  8.  
  9. // *****************************************************************************
  10. //    Conditional Compilation Options
  11. // -----------------------------------------------------------------------------
  12.  
  13. #define THICK_TITLEBAR
  14. // #define TITLE_STRING
  15.  
  16. #define ALLOW_ZOOM
  17. #define ALLOW_VERT
  18. #define ALLOW_GROW
  19.  
  20. #define VERS_2_2_COMPATIBLE
  21.  
  22. // *****************************************************************************
  23. //    Combinations
  24. //        These should pretty much remain untouched
  25. // -----------------------------------------------------------------------------
  26.  
  27. #ifdef VERS_2_2_COMPATIBLE
  28.     #ifndef MFI_ZOOM
  29.     #define MFI_ZOOM
  30.     #endif
  31.     
  32.     #ifndef STAYPUT_ZOOM
  33.     #define STAYPUT_ZOOM
  34.     #endif
  35. #endif
  36.  
  37. // -----------------------------------------------------------------------------
  38.  
  39. #ifdef THINK_STYLE
  40.     #ifndef ALLOW_VERT
  41.     #define ALLOW_VERT
  42.     #endif
  43.  
  44.     #ifndef ALWAYS_HILITE
  45.     #define ALWAYS_HILITE
  46.     #endif
  47.  
  48.     #ifdef MACAPP_STYLE
  49.     #undef MACAPP_STYLE
  50.     #endif
  51. #endif
  52.  
  53. // -----------------------------------------------------------------------------
  54.  
  55. #ifdef MACAPP_STYLE
  56.     #ifdef ALLOW_VERT
  57.     #undef ALLOW_VERT
  58.     #endif
  59.  
  60.     #ifdef ALWAYS_HILITE
  61.     #undef ALWAYS_HILITE
  62.     #endif
  63.  
  64.     #ifndef ALLOW_GROW
  65.     #define ALLOW_GROW
  66.     #endif
  67. #endif
  68.  
  69. // -----------------------------------------------------------------------------
  70.  
  71. #ifdef SYS7_OR_LATER
  72.     #ifndef USE_GESTALT
  73.     #define USE_GESTALT
  74.     #endif
  75. #endif
  76.  
  77. // *****************************************************************************
  78. //    System version define for the Apple Interfaces
  79. // -----------------------------------------------------------------------------
  80.  
  81. #ifdef SYS7_OR_LATER
  82.     #define SystemSevenOrLater 1    
  83. #else
  84.     #define SystemSixOrLater 1        
  85. #endif
  86.  
  87.     // This is used so that we can cut down on the code size in MPW. If 
  88.     // support for earlier systems is important, get rid of this. 
  89.     // Note: for this define to work under THINK C, MacHeaders cannot be used.
  90.  
  91. // *****************************************************************************
  92. #endif